{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js"}

<form method="post" action="" name="listForm">
<!-- start reg_fiedls list -->
<div class="list-div" id="listDiv">
{/if}

<table cellspacing='1' id="list-table">
  <tr>
    <th>Banner图</th>
    <th>添加时间</th>
    <th>修改时间</th>
    <th>操作</th>
  </tr>
  {foreach from=$banner item=ban}
  <tr>
    <td class="first-cell"  align="center"><img src="../{$ban.img}" height="60px" width="192" /></td>
    <td align="center">{$ban.c_time|gg_date:'Y-m-d'}</td>
    <td align="center">{$ban.u_time|gg_date:'Y-m-d'}</td>
    <td align="right"><a href="?act=edit&id={$ban.id}">编辑</a>{if $ban.type eq 0} | <a href="javascript:;" onclick="listTable.remove({$ban.id}, '是否删除该banner图？')" title="删除">删除</a>{/if}</td>
  </tr>
  {/foreach}
  </table>

{if $full_page}
</div>
<!-- end reg_fiedls list -->
</form>
<script type="Text/Javascript" language="JavaScript">
<!--
{literal}
onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
{/literal}
//-->
</script>
{include file="pagefooter.htm"}
{/if}
